From 77533e4f7d0b5bc1568862410e5b7e51b40f1b71 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 22 Oct 2018 16:18:50 +0100 Subject: [PATCH] automation: add dockerfile for Ubuntu 18.04 Signed-off-by: Wei Liu Acked-by: Andrew Cooper --- automation/build/ubuntu/bionic.dockerfile | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 automation/build/ubuntu/bionic.dockerfile diff --git a/automation/build/ubuntu/bionic.dockerfile b/automation/build/ubuntu/bionic.dockerfile new file mode 100644 index 0000000000..8de67ef14e --- /dev/null +++ b/automation/build/ubuntu/bionic.dockerfile @@ -0,0 +1,48 @@ +FROM ubuntu:18.04 +LABEL maintainer.name="The Xen Project " \ + maintainer.email="xen-devel@lists.xenproject.org" + +ENV DEBIAN_FRONTEND=noninteractive +ENV USER root + +RUN mkdir /build +WORKDIR /build + +# build depends +RUN apt-get update && \ + apt-get --quiet --yes install \ + build-essential \ + zlib1g-dev \ + libncurses5-dev \ + libssl-dev \ + python2.7-dev \ + xorg-dev \ + uuid-dev \ + libyajl-dev \ + libaio-dev \ + libglib2.0-dev \ + clang \ + libpixman-1-dev \ + pkg-config \ + flex \ + bison \ + gettext \ + acpica-tools \ + bin86 \ + bcc \ + liblzma-dev \ + libc6-dev-i386 \ + libnl-3-dev \ + ocaml-nox \ + libfindlib-ocaml-dev \ + markdown \ + transfig \ + pandoc \ + checkpolicy \ + wget \ + git \ + nasm \ + && \ + apt-get autoremove -y && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/* -- 2.30.2